@import './param.scss';
/* 公共样式
-------------------------- */

* {
  user-select: none;
  outline: none;
  margin: 0;
  padding: 0;
}

input,
textarea {
  user-select: text;
}

html {
  font-size: 0.28rem;
}

body {
  height: 100vh;
  width: 100vw;
  background-color: $color-page-background;
  // font-family: "微软雅黑", "Microsoft YaHei";
  font-family: 'PingFang-SC-Regular, Helvetica, sans-serif';
  color: #282828;
}

body {
  position: relative;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: none;
  -webkit-overflow-scrolling: touch;
}

a {
  text-decoration: none;
}

[v-cloak] {
  display: none;
}

.after:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.before:before {
  content: "";
  display: table;
}

/* 字体大小
-------------------------- */

.fz1 {
  font-size: $fz-1;
}

.fz2 {
  font-size: $fz-2;
}

.fz3 {
  font-size: $fz-3;
}

.fz4 {
  font-size: $fz-4;
}

.fz5 {
  font-size: $fz-5;
}

.fz6 {
  font-size: $fz-6;
}

.fz7 {
  font-size: $fz-7;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: $color-text-primary;
  margin: 0;
  padding: 0;

  // .wrap {
  //     width: $wrap;
  //     height: 100%;
  //     margin: 0 auto;
  // }

  // .cardwarp {
  //     width: 95%;
  //     height: 78%;
  //     margin: 0 auto;
  //     padding: 4% 0 3% 0;
  // }

  // .loginwarp {
  //     width: 80%;
  //     height: 100%;
  //     margin: 0 auto;
  // }
}


.fl {
  float: left;
}

.fr {
  float: right;
}

.wordsCenter {
  width: 100%;
  text-align: center;
}

.bgwrite {
  background-color: $color-main-background;
}

.bgprimary {
  background-color: $color-primary!important;
}

.bgGray {
  background-color: $color-page-background;
}
.bgdanger{
  background-color: $color-danger
}

.wordsprimary {
  color: $color-primary;
}

.wordsBlack {
  color: $color-text-primary;
}

.wordsGray {
  color: $color-text-regular;
}

.wordsWrite {
  color: #FFFFFF;
}

.wordstxt {
  color: $color-text;
}
.wordsDanger{
  color: $color-danger;
}
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.borderBottom {
  border-bottom: 1px solid #F0EDED;
}


//去掉iOS按钮默认样式
input[type="button"],
input[type="submit"],
input[type="reset"] {
  -webkit-appearance: none;
}

textarea {
  -webkit-appearance: none;
}

.button {
  border-radius: 0;
}

.collectionAbsolute {
  position: absolute;
  z-index: 999;
}

.flex {
  display: flex;
  /* or inline-flex */
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-center-x {
  justify-content: center;
}
.flex-center-y {
  align-items: center;
}

.flex-space-x {
  justify-content: space-between;
}

.flex-space-a {
  justify-content: space-around;
}

.loading{
  z-index: 20;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  >div{
      position: absolute;
      top: 50%;
      left: 50%;
  }
}
.data-nil{
  text-align: center;
  color: #999;
  font-size: 0.26rem;
  padding-top: 20px;
}